
@font-face {
    font-family: 'Rockwell Bold';
    src: url(font/rockwell-condensed-bold.ttf);
}
@font-face {
    font-family: 'Rockwell Regular';
    src: url(font/Rockwell\ Regular.otf);
}

body::-webkit-scrollbar{
    display: none;
}

body{
    color: #E3002C;
    height: 100%;
    width: 100%;
    font-family: 'Rockwell Regular';
    font-size: 2vw;
    overflow-x: hidden;
    transition: all 1s ease-in-out;    
}
/* Ajoute un fond blanc au-dessus de toute la page */
  
.accueil{
    opacity: 100%;
    z-index: 3;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, z-index 0.5s ease-in-out;
}

#mainPhoto{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.accueil .top{
    position: fixed;
    top: 2vw;
    height: 20vh;
    z-index: 2;
}
.accueil .mid{
    z-index: 2;
}
.accueil .bot{
    z-index: 2;
    bottom: 2vw;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    height: 15vw;
    width: 20vw;
}

.corps{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    top:0;
    left: 0;
    background-color: rgb(255, 255, 255);
    width: 100%;
    z-index: 1;
}
.corps .top{
    height: 100VH;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    font-family: 'Rockwell Bold', 'regular';
    top:0;
    width: 100vw;
}
.corps .top span{
    margin-left: 2vw;
    margin-right: 2vw;
}
.dashed-line {
    visibility: hidden;
    border-top: 0.2vw dashed #E3002C; /* Épaisseur et couleur de la ligne */
    margin: 10px 0; /* Espacement au-dessus et en-dessous de la ligne */
    width: 100%; /* Largeur de la ligne */
}
.corps .mid{
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

}
.corps .top .menu{
    font-size: 12vw;
    font-family: 'Rockwell Bold';
    padding-bottom: 7vw;
}
.corps .bot{
    position: fixed;
    font-family: 'Rockwell Bold', 'regular';
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    bottom:0;
    height: 4vw;
    width: 95vw;
    margin-bottom: 1.2vw;
}

#logotype{
    margin-left: 2vw;
    margin-right: 2vw;
    width: 3vw;
    animation: fadeIn 1.5s ease-in-out;
}
.bot a:hover{
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
}
#coordonnees{
    width: 9vw
}

.accueil.cache{
    opacity: 0%;
    visibility: hidden;
    z-index: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, z-index 0.5s ease-in-out;
}
.categorie{
    text-transform: uppercase;
    width: 100%;
    font-size: 1.6vw;
    font-family: 'Rockwell Bold', 'sans-serif';
    margin-top: 4vw;
}
.quantite{
    display: flex;
    flex-direction: row;
    justify-content: end;
    width: 100%;
    margin-bottom: 4vw;
    font-size: 1.2vw;
    margin-top: 2vw;
    font-family: "rockwell-nova", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-stretch: extra-condensed;
}

.objet{
    text-wrap: nowrap;
    margin-top: 1vw;
    font-size: 1.2vw;
    width: 38vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.pointille{
    margin-left: 0.16vw;
    margin-right: 0.16vw;
    height: 1vw;
    width: 100vw;
    border-bottom: 0.16vw dotted #E3002C;
}

.corps .mid .partie{
    margin-bottom: 2vw;
}

.partie .quantite span{
    margin-left: 1vw;
}

.ecart{
    width: 8.5vw;
}

.ecart2{
    width: 4.5vw;
}

.presentation{
    margin-top: 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: -1;
}

.presentation img{
    z-index: -1;
    object-fit: cover;
    width: 35vw;
    height: 23vw;
    margin: 4vw;
}

.presentation span{
    font-family: "rockwell-nova", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-stretch: extra-condensed;
    text-align: center;
    font-size: 1.2vw;
    width: 36vw;
}
#logoaccueil{
    width: 52vw;
    padding-bottom: 10vw;
}

.corps .bot a{
    text-decoration: none;
    color: #E3002C;
}

.title{
    font-family: 'Rockwell Bold', sans-serif;
    text-transform: uppercase;
    font-size: 2.3vw;
    margin-bottom: 2vw;
}

@keyframes fadeIn {
    0% {
      background-color: rgba(255, 255, 255, 1);
    }
    100% {
      background-color: rgba(255, 255, 255, 0);
    }
  }
  
  #white-fade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 10000; /* Assurez-vous que l'overlay soit au-dessus de tout */
    transition: opacity 1.5s ease-in-out;
  }

  .cache{
    opacity: 0;
    pointer-events: none;
  }

a:hover{
    opacity: 0.5;
    transition: opacity 0.5s ease;
}


@media only screen and (max-width: 600px) {
    body{
        font-size: 4vw;
    }
    .accueil .top{
        position: fixed;
        top: 2vw;
        height: 90vh;
        z-index: 2;
    }
    #logotype{
        width: 9vw;
        margin-bottom: 3vh;
    }
    .mobile-hide{
        display: none;
    }
    .bot span{
        margin-bottom: 5vw;
    }
    #logoaccueil{
        width: 90vw;
        margin-bottom: 10vh;
    }
    body .presentation{
        width: 80vw;
    }
    .presentation img{
        z-index: -1;
        object-fit: cover;
        width: 80vw;
        height: 26vh;
        margin-top: 5vh;
    }
    .title{
        margin-top: 5vh;
        margin-bottom: 5vh;
        font-size: 9vw;
    }
    .presentation span{
        font-family: "rockwell-nova", sans-serif;
        font-weight: 400;
        font-style: italic;
        font-stretch: extra-condensed;
        text-align: center;
        font-size: 4vw;
        width: 100%;
    }
    .corps .top .menu{
        font-size: 23vw;
        font-family: 'Rockwell Bold';
        padding-bottom: 13vh;
    }
    .categorie{
        text-transform: uppercase;
        width: 100%;
        font-size: 6vw;
        font-family: 'Rockwell Bold', 'sans-serif';
        margin-top: 5vh;
    }
    .quantite{
        display: flex;
        flex-direction: row;
        justify-content: end;
        width: 100%;
        margin-bottom: 2vh;
        font-size: 3vw;
        margin-top: 2vh;
        font-family: "rockwell-nova", sans-serif;
        font-weight: 400;
        font-style: italic;
        font-stretch: extra-condensed;
    }
    
    .objet{
        font-family: "rockwell", sans-serif;
        font-weight: 400;
        font-style: normal;
        text-wrap: nowrap;
        margin-top: 1vw;
        line-height: 1.5;
        font-size: 3vw;
        width: 80vw;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .pointille{
        margin-left: 0.16vh;
        margin-right: 0.16vh;
        height: 1.2vh;
        width: 100vw;
        border-bottom: 0.16vh dotted #E3002C;
    }
    
    .corps .mid .partie{
        margin-bottom: 2vw;
    }
    
    .partie .quantite span{
        margin-left: 1vw;
    }
}